package com.fs.iot.bean.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.base.bean.query.BaseQuery;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 设备数据查询对象 
 * @author Coder Generator 2025-03-22 15:29:32 
 **/
@Data
public class DeviceDataQuery extends BaseQuery {
    @NotBlank
    private String deviceCode;

    private List<String> paramCodes;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
}